export const optionTRLValue = {
	tooltip: {
		trigger: 'axis',
		axisPointer: {
			lineStyle: {
				width: 1,
				color: '#019680'
			}
		}
	},
	legend: {
		top: '-2',
		icon: 'rect',
		itemWidth: 20,
		itemHeight: 8,
		borderRadius: 50,
		itemGap: 5,
		formatter: (name) => {
			return `{name|${name}}`;
		},
		textStyle: {
			rich: {
				name: {
					color: ['rgba(118, 219, 251)', 'rgba(255, 230, 101)', 'rgba(165, 108, 250)',
						'rgba(123, 253, 192)'
					],
				},
			},
		},
	},
	grid: {
		top: '18%',
		left: '3%',
		right: '4%',
		bottom: '3%',
		containLabel: true
	},
	xAxis: [{
		type: 'category',
		data: [],
		axisLine: {
			show: true,
			lineStyle: {
				color: '#fff',
				opacity: 0.3,
				width: 1,
				type: 'solid'
			}
		},
		axisTick: {
			show: false
		},
		axisLabel: {
			show: true,
			textStyle: {
				color: '#fff'
			}
		}
	}],
	yAxis: [{
		name: 'kWh',
		type: 'value',
		min: 0,
		axisLabel: {
			formatter: '{value}'
		},
		axisLine: {
			show: true,
			lineStyle: {
				color: '#fff',
				width: 1,
				type: 'solid'
			}
		},
		axisTick: {
			show: false
		},
		splitLine: {
			lineStyle: {
				color: '#fff',
				opacity: 0.3
			}
		}
	}],
	series: [{
		name: '新风机组室外机',
		type: 'bar',
		stack: '1',
		min: 0,
		max: 0.06,
		emphasis: {
			focus: 'series'
		},
		barMaxWidth: 8,
		itemStyle: {
			normal: {
				color: 'rgba(118, 219, 251)'
			}
		},
		label: {},
		data: []
	}, {
		name: '新风机组风机',
		type: 'bar',
		stack: '1',
		min: 0,
		max: 0.06,
		emphasis: {
			focus: 'series'
		},
		barMaxWidth: 8,
		itemStyle: {
			normal: {
				color: 'rgba(255, 230, 101)'
			}
		},
		label: {},
		data: []
	}]
};
